<?php
ini_set("include_path", ".:../:./includes:../includes:./fpdf");

require_once('fpdf/fpdf.php');

class DeliveryNotePDF extends FPDF
{
function Header()
{
    //Logo
	    //$this->Ln(20);
   

	$this->SetFont('Arial','BI',8);	
	
	$this->Cell(150);
	$this->Cell(0,4,"M2M Online");
    $this->Ln();
	
	$this->SetFont('Arial','I',8);
	$this->Cell(150);
	$this->Cell(0,4,"10 Fashion Road");
    $this->Ln();
	
	$this->Cell(150);
	$this->Cell(0,4,"Edinburgh");
    $this->Ln();	
	
	$this->Cell(150);
	$this->Cell(0,4,"United Kingdom");
    $this->Ln();	
		 
	$this->Cell(150);
	$this->Cell(0,4,"0113 2522222");
    $this->Ln();
	
	$this->Cell(150);
	$this->Cell(0,4,"m2m@m2m.com");
    $this->Ln();
 
 	$this->Image('images/demo_banner.jpg',20,20,75);
}

//Page footer
function Footer()
{
    //Position at 1.5 cm from bottom
   // $this->SetY(-15);
    //Arial italic 8
 //   $this->SetFont('Arial','I',8);
    //Page number
 //   $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C');
}
}

?>